package com.zzj.bill.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zzj.common.annotation.Excel;
import com.zzj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 当日销售管理对象 bill_sell_detail
 *
 * @author zzj
 * @date 2022-01-28
 */
public class BillSellDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 日结id */
    @Excel(name = "日结id")
    private Integer dailySettlementId;

    /** 商品货号 */
    @Excel(name = "商品货号")
    private String itemNo;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 商品颜色 */
    @Excel(name = "商品颜色")
    private String color;

    /** 商品尺码 */
    @Excel(name = "商品尺码")
    private Integer size;

    /** 销售价钱 */
    @Excel(name = "销售价钱")
    private BigDecimal priceDefined;

    /** 当日系统价钱 */
    @Excel(name = "当日系统价钱")
    private BigDecimal priceSystem;

    /** 是否已入系统 */
    @Excel(name = "是否已入系统")
    private Integer intoSystem;

    /** 入系统时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "入系统时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date intoSystemTime;

    /** 是否是买断款 */
    @Excel(name = "是否是买断款")
    private Integer byoutOrnot;

    /** 买断款状态0：未出库 1：已出库 */
    @Excel(name = "买断款状态0：未出库 1：已出库")
    private Integer byoutStatus;

    /** 买断款出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "买断款出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date byoutDeliveryTime;

    /** 售货员 */
   // @Excel(name = "售货员")
    private Integer sellBy;

    /** 售货员 */
    @Excel(name = "售货员")
    private String sellByName;

    /** 售卖时间 */
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "售卖时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sellTime;

    /** 店铺代码 */
    @Excel(name = "店铺代码")
    private Integer shopId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDailySettlementId(Integer dailySettlementId)
    {
        this.dailySettlementId = dailySettlementId;
    }

    public Integer getDailySettlementId()
    {
        return dailySettlementId;
    }
    public void setItemNo(String itemNo)
    {
        this.itemNo = itemNo;
    }

    public String getItemNo()
    {
        return itemNo;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setColor(String color)
    {
        this.color = color;
    }

    public String getColor()
    {
        return color;
    }
    public void setSize(Integer size)
    {
        this.size = size;
    }

    public Integer getSize()
    {
        return size;
    }
    public void setPriceDefined(BigDecimal priceDefined)
    {
        this.priceDefined = priceDefined;
    }

    public BigDecimal getPriceDefined()
    {
        return priceDefined;
    }
    public void setPriceSystem(BigDecimal priceSystem)
    {
        this.priceSystem = priceSystem;
    }

    public BigDecimal getPriceSystem()
    {
        return priceSystem;
    }
    public void setIntoSystem(Integer intoSystem)
    {
        this.intoSystem = intoSystem;
    }

    public Integer getIntoSystem()
    {
        return intoSystem;
    }
    public void setIntoSystemTime(Date intoSystemTime)
    {
        this.intoSystemTime = intoSystemTime;
    }

    public Date getIntoSystemTime()
    {
        return intoSystemTime;
    }
    public void setByoutOrnot(Integer byoutOrnot)
    {
        this.byoutOrnot = byoutOrnot;
    }

    public Integer getByoutOrnot()
    {
        return byoutOrnot;
    }
    public void setByoutStatus(Integer byoutStatus)
    {
        this.byoutStatus = byoutStatus;
    }

    public Integer getByoutStatus()
    {
        return byoutStatus;
    }
    public void setByoutDeliveryTime(Date byoutDeliveryTime)
    {
        this.byoutDeliveryTime = byoutDeliveryTime;
    }

    public Date getByoutDeliveryTime()
    {
        return byoutDeliveryTime;
    }
    public void setSellBy(Integer sellBy)
    {
        this.sellBy = sellBy;
    }

    public Integer getSellBy()
    {
        return sellBy;
    }
    public void setSellTime(Date sellTime)
    {
        this.sellTime = sellTime;
    }

    public Date getSellTime()
    {
        return sellTime;
    }
    public void setShopId(Integer shopId)
    {
        this.shopId = shopId;
    }

    public Integer getShopId()
    {
        return shopId;
    }

    public String getSellByName() {
        return sellByName;
    }

    public void setSellByName(String sellByName) {
        this.sellByName = sellByName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dailySettlementId", getDailySettlementId())
            .append("itemNo", getItemNo())
            .append("orderNo", getOrderNo())
            .append("color", getColor())
            .append("size", getSize())
            .append("priceDefined", getPriceDefined())
            .append("priceSystem", getPriceSystem())
            .append("intoSystem", getIntoSystem())
            .append("intoSystemTime", getIntoSystemTime())
            .append("byoutOrnot", getByoutOrnot())
            .append("byoutStatus", getByoutStatus())
            .append("byoutDeliveryTime", getByoutDeliveryTime())
            .append("sellBy", getSellBy())
            .append("sellByName", getSellByName())
            .append("sellTime", getSellTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("shopId", getShopId())
            .toString();
    }
}
